package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.request.DynamicCommentRequest;
import com.ytjj.qmyx.admin.model.response.DynamicCommentReponse;

import java.util.List;

public interface DynamicCommentDao {

    List<DynamicCommentReponse> selectList(DynamicCommentRequest dynamicCommentRequest);

    List<DynamicCommentReponse> getChildrenByPid(Integer pid);
    /** 
    * 查询满足条件的所有评论及回复的评论id
    * @param dynamicCommentRequest:
    * @returns: java.util.List<com.ytjj.qmyx.admin.model.response.DynamicCommentReponse> 
    * 
    */
    List<DynamicCommentReponse> getCommentList(DynamicCommentRequest dynamicCommentRequest);
}
